import request from '@/utils/request'

// 查询签约指标列表
export function listSigningIndicator(query) {
  return request({
    url: '/biz/signingIndicator/list',
    method: 'get',
    params: query
  })
}

// 查询签约指标详细
export function getSigningIndicator(signingIndicatorId) {
  return request({
    url: '/biz/signingIndicator/' + signingIndicatorId,
    method: 'get'
  })
}

// 新增签约指标
export function addSigningIndicator(data) {
  return request({
    url: '/biz/signingIndicator',
    method: 'post',
    data: data
  })
}

// 修改签约指标
export function updateSigningIndicator(data) {
  return request({
    url: '/biz/signingIndicator',
    method: 'put',
    data: data
  })
}

// 删除签约指标
export function delSigningIndicator(signingIndicatorId) {
  return request({
    url: '/biz/signingIndicator/' + signingIndicatorId,
    method: 'delete'
  })
}
